#include "CheckersApp.h"

int WINAPI wWinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nCmdShow )
{
	// Create the app object and enter the message pump
	CheckersApp app;
	app.SetFatalMessage(L"A fatal error has occurred and the application will be shut down. "
		L"Please send the Checkers3D.exe.log file, located in the same directory as Checkers3D.exe, "
		L"to the developer.");
	app.SetWindowCaption(L"Checkers3D");
	app.SetWindowIcon(static_cast<HICON>(LoadImage(hInstance, L"appIcon", IMAGE_ICON, 0, 0, LR_SHARED)));
	app.SetWindowWidth(1024);
	app.SetWindowHeight(768);

	return app.Run();
}